package com.ssy.lingxi.order.model.vo.basic.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 订单Id作为接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-07-20
 */
public class OrderIdVO implements Serializable {
    private static final long serialVersionUID = 6332150773743949950L;

    /**
     * 订单Id
     */
    @NotNull(message = "订单Id要大于0")
    @Positive(message = "订单Id要大于0")
    private Long orderId;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }
}
